package club.emergency.wechat.resource_study.search;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create with IntelliJ IDEA
 * Project Name: business
 * Package Name: club.emergency.wechat.resource_study.search
 * Date: 2018/12/21
 *
 * @author: 快乐的小菌菌
 * Description:
 */
public interface ResourceStudySearch {

    /**
     * 查询资料学习数据
     *
     * @param resourceCategory 资料种类
     * @param pageNo           当前页
     * @param pageSize         当前一页显示的数据总条数
     * @return 以字符串形式返回
     */
    @PostMapping("/resource-study-search-provider/flipList")
    String flipList(@RequestParam(value = "resourceCategory", required = false) String resourceCategory, @RequestParam("pageNo") Integer pageNo, @RequestParam("pageSize") Integer pageSize);

}
